package com.ruoyi.system.service.college.impl;

import java.util.List;

import com.ruoyi.system.domain.college.Statistics.PlatformConstructionStatistics;
import com.ruoyi.system.mapper.award.research.PlatformConstructionStatisticsMapper;
import com.ruoyi.system.service.college.IPlatformConstructionStatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 平台建设统计Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-11-24
 */
@Service
public class PlatformConstructionStatisticsServiceImpl implements IPlatformConstructionStatisticsService
{
    @Autowired
    private PlatformConstructionStatisticsMapper platformConstructionStatisticsMapper;

    /**
     * 查询平台建设统计
     * 
     * @param id 平台建设统计主键
     * @return 平台建设统计
     */
    @Override
    public PlatformConstructionStatistics selectPlatformConstructionStatisticsById(Integer id)
    {
        return platformConstructionStatisticsMapper.selectPlatformConstructionStatisticsById(id);
    }

    /**
     * 查询平台建设统计列表
     * 
     * @param platformConstructionStatistics 平台建设统计
     * @return 平台建设统计
     */
    @Override
    public List<PlatformConstructionStatistics> selectPlatformConstructionStatisticsList(PlatformConstructionStatistics platformConstructionStatistics)
    {
        return platformConstructionStatisticsMapper.selectPlatformConstructionStatisticsList(platformConstructionStatistics);
    }

    /**
     * 新增平台建设统计
     * 
     * @param platformConstructionStatistics 平台建设统计
     * @return 结果
     */
    @Override
    public int insertPlatformConstructionStatistics(PlatformConstructionStatistics platformConstructionStatistics)
    {
        return platformConstructionStatisticsMapper.insertPlatformConstructionStatistics(platformConstructionStatistics);
    }

    /**
     * 修改平台建设统计
     * 
     * @param platformConstructionStatistics 平台建设统计
     * @return 结果
     */
    @Override
    public int updatePlatformConstructionStatistics(PlatformConstructionStatistics platformConstructionStatistics)
    {
        return platformConstructionStatisticsMapper.updatePlatformConstructionStatistics(platformConstructionStatistics);
    }

    /**
     * 批量删除平台建设统计
     * 
     * @param ids 需要删除的平台建设统计主键
     * @return 结果
     */
    @Override
    public int deletePlatformConstructionStatisticsByIds(Integer[] ids)
    {
        return platformConstructionStatisticsMapper.deletePlatformConstructionStatisticsByIds(ids);
    }

    /**
     * 删除平台建设统计信息
     * 
     * @param id 平台建设统计主键
     * @return 结果
     */
    @Override
    public int deletePlatformConstructionStatisticsById(Integer id)
    {
        return platformConstructionStatisticsMapper.deletePlatformConstructionStatisticsById(id);
    }
}
